<template>
  <article>
    <p>参数：{{ description.params }}</p>
    <p>说明：{{ description.des }}</p>
    <p>类型：{{ description.type }}</p>
    <p>默认值：{{ description.default }}</p>
    <p>可选值：{{ description.choice }}</p>
  </article>
</template>

<script>
export default {
  name: "description",
  props: {
    description: {
      type: Object,
      default() {
        return{
          params: 'params',
          des: 'description',
          type: 'type',
          default: 'default',
          choice: 'choice',
        }
      }
    }
  }
}
</script>

<style scoped>
article {
  font-size: .4rem;
  /*font-weight: bold;*/
  color: #969696;
  padding: .4rem;
  word-break: break-all;
}
</style>